package com.yqya.springboot.websocket.chat.dto;

import java.io.Serializable;

/**
 * 消息
 *
 * @author Kevin
 * @date 2019-07-07
 */
public class MessageDTO implements Serializable {

    /**
     * 类型
     */
    private String type;

    /**
     * 用户名
     */
    private String username;

    /**
     * 消息
     */
    private String msg;

    /**
     * 在线人数
     */
    private Integer onlineCount;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getOnlineCount() {
        return onlineCount;
    }

    public void setOnlineCount(Integer onlineCount) {
        this.onlineCount = onlineCount;
    }

}
